﻿//
// GNS_PvEAllInfoDaily.h
// MobileManage
//
// Created by MR.L on 16/2/18.
//
//

#ifndef __MobileManage__GNS_PvEAllInfoDaily__
#define __MobileManage__GNS_PvEAllInfoDaily__

#include "cocos2d.h"
#include "cocostudio/CocoStudio.h"
#include "ui/CocosGUI.h"
#include "GNS_Calendar.h"
USING_NS_CC;
using namespace cocostudio::timeline;
using namespace ui;

class GNS_PvEAllInfoDaily : public Layer
{
public:
    GNS_PvEAllInfoDaily();
    ~GNS_PvEAllInfoDaily();
    static GNS_PvEAllInfoDaily* createLayer();
    virtual bool init();
    CREATE_FUNC(GNS_PvEAllInfoDaily);
    void BtnCallBack(Ref *pSender , ui::Widget::TouchEventType type);
    void SetNodeName(std::string CsbName);
    void AcceptSeverDate();//数据接收
    void SetProName(std::string Name);
    ListView * GameType;
private:
    void TimeButtonCallBack(Ref * pSender,ui::Widget::TouchEventType type);
    void SelectedItemEvents(Ref*pSender,ui::ListView::EventType type);
private:
    Node * pGNS_PvEAllInfoDaily;
    ListView * DataListView;
    Text * TimeText;
    Text * pProName;
    Text * GameName;
    GNS_Calendar * pCalendar;
    int PlayerName;
    int CurID;
    int Year;
    int Mon;
    int Day;
};

#endif /* defined(__MobileManage__GNS_PvEAllInfoDaily__) */